07. Changing Scene via Script
Changing Scene via Script
Project Assets
- Island scene: Assets > UdacityVR > Scenes > 00-FallingCoconut.unity
Note: For the lighting to appear correctly in scenes loaded during game mode, the lighting has to be manually generated. You can do this by first disabling Auto Generate and clicking the Generate Lighting button (located at the bottom of the Lighting window).
Additional Reading
- Unity Scripting API: SceneManager
Project Preview:
Tip: You can reset a scene by reloading it.